import React from 'react'
import { Tabs, Button, Drawer, theme } from 'antd';
import MaintainTask from './MaintainTask';
const onChange = (key) => {
  console.log(key);
};

export default function DevMaintain() {
  const items = [
    {
      key: '1',
      label: `检修任务`,
      children:
        <MaintainTask />
    },
    {
      key: '2',
      label: `在检设备`,
      children: `Content of Tab Pane 2`,
    },
    {
      key: '3',
      label: `即将检修超期的设备`,
      children: `Content of Tab Pane 3`,
    }
  ];
  return (
    <div style={{
      background: "white", minHeight: "545px",
      // height: document.documentElement.clientHeight - 135 
    }}>

      <Tabs defaultActiveKey="1" items={items} onChange={onChange}

        style={{ fontSize: "12px", paddingBottom: "10px" }}
      />
    </div>
  )
}
